home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr37 / ho5m.zip / ON_OFF.BAT < prev    next >
DOS Batch File  |  1994-09-27  |  1KB  |  78 lines

  1. @echo off
  2. rem
  3. rem  another sample Hands On menu
  4. rem  updated Fri  09-23-1994  16:58:12
  5. :start
  6. rem homnu menu "t:Start & Stop"  "Remote - HO" "Host - Hohost" "Unload" "Directory" "Phone bits" "Reset ports" "Test ports" "Exit" nc
  7. homnu menu "t:Start & Stop"  "Remote - HO" "Host - Hohost" "Unload" "Directory" "Reset ports" "Test ports" "Modem reset" "Exit" nc
  8. if errorlevel == 8 goto :end
  9. if errorlevel == 7 goto :modem
  10. if errorlevel == 6 goto :test
  11. if errorlevel == 5 goto :reset
  12. rem if errorlevel == 5 goto :phone
  13. if errorlevel == 4 goto :dirlist
  14. if errorlevel == 3 goto :unload
  15. if errorlevel == 2 goto :hoh
  16. if errorlevel == 1 goto :ho_ho
  17. goto :end
  18.  
  19. :ho_ho
  20. cls
  21. HO
  22. pause
  23. goto :START
  24.  
  25. :hoh
  26. cls
  27. HOhost
  28. pause
  29. goto :start
  30.  
  31. :unload
  32. cls
  33. horemove
  34. pause
  35. goto :start
  36.  
  37. :dirlist
  38. cls
  39. DIR/W
  40. pause
  41. goto :start
  42.  
  43. :phone
  44. rem generic phone menu
  45. CLS
  46. 1sthand call
  47. goto :start
  48.  
  49. :reset
  50. rs232off
  51.  
  52. goto :start
  53.  
  54. :test
  55. cls
  56. echo .
  57. echo .  Tap Control-C then answer "NO" if you decide to skip this test.
  58. echo .
  59. comtest
  60. goto :start
  61.  
  62. :modem
  63. cls
  64. echo .
  65. echo . Now configuring the modem.  Try doing it daily.
  66. echo .
  67. echo . This just runs HOMODSET with the homodset.dat file.
  68. echo .
  69. homodset
  70. goto :start
  71.  
  72.  
  73.  
  74. :end
  75. homenu.bat
  76.  
  77. rem   END
  78.